package example;

/**
 * 客户端测试
 *
 * @author zhang he qiang
 */
public class RMBrateTest {
    public static void main(String[] args)
    {
        Rate rate=new RMBrate();
        Company watcher1=new ImportCompany();
        Company watcher2=new ExportCompany();
        rate.add(watcher1);
        rate.add(watcher2);
        rate.change(10);
        rate.change(-9);
    }
}
